{% extends '::base.html.twig' %}
{% form_theme form 'WantuchMailerBundle:Main/Form:fields.html.twig' %}

{% block title %}{{ "Add campaign" | trans}}{% endblock %}
 
{% block body %}
    
    {% block content %}
    <h1 class="heading">{{ "Add campaign"|trans}}</h1>

    {{ form_start(form) }}
        {{ form_errors(form) }}
    
        {{ form_row(form.name) }}
        {{ form_row(form.defaultSender) }}
        {{ form_row(form.company) }}

        {{ form_widget(form.save) }}
    {{ form_end(form) }}
{%endblock%}
{%endblock%}